add_subdirectory(src)

set(GUI_SRCS src/archivetreeview.cpp src/centralwidget.cpp src/mainwindow.cpp src/main.cpp)
set(GUI_HDRS src/archivetreeview.h src/centralwidget.h src/mainwindow.h)

qt4_automoc(${GUI_HDRS})
qt4_wrap_cpp(MOC_SRCS ${GUI_HDRS})

add_executable(Quffman_GUI ${GUI_SRCS} ${MOC_SRCS})
target_link_libraries(Quffman_GUI ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
